/*
 * Copyright 2024 The CHANGLEI Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

import 'package:flatterer/src/indicate_border.dart';
import 'package:flutter/material.dart';

/// Created by box on 2021/5/15.
///
/// 资源文件

/// 动画执行时间
const fadeDuration = Duration(milliseconds: 300);

/// 三角形大小
const defaultIndicateSize = RSize(
  30,
  16,
  radius: 2.6,
  blRadius: 12,
  brRadius: 12,
);

/// 四周的边距
const defaultMargin = EdgeInsets.all(20);

/// 默认阴影
const defaultShadows = <BoxShadow>[
  BoxShadow(
    color: Color.fromRGBO(0, 0, 0, 0.1),
    spreadRadius: 10,
    blurRadius: 30,
  ),
];

/// 边框
const defaultSide = BorderSide(
  color: Color(0x1F000000),
);

/// 默认圆角
const defaultBorderRadius = BorderRadius.all(Radius.circular(10));
